package customerEnter.Frame.DaoDataTransmission;


/**
 * 
 * 类名称：PagingParametersResult
 * 
 * 类描述： 返回的集合類型 可以有單個數據 list 數據 map數據等等
 * 
 * 创建人：dy
 * 
 * 创建时间：2017-3-14 下午5:54:04
 * 
 * @param <T>
 * 
 * @param <T>
 * 
 */
@SuppressWarnings("serial")
public class PagingParametersResult<T> extends FrameBeanSuper {

	/**
	 * 單個數據
	 */
	public T		pObject;

	/**
	 * 分頁數據總量
	 */
	public Integer	pagingParametersCount	= 0;

	public Integer getPagingParametersCount() {
		return pagingParametersCount;
	}

	@SuppressWarnings({ "unchecked", "hiding" })
	public <T> T getpObject() {
		return (T) pObject;
	}

	public void setpObject(T pObject) {
		this.pObject = pObject;
	}

	public void setPagingParametersCount(Integer pagingParametersCount) {
		this.pagingParametersCount = pagingParametersCount;
	}

	@SuppressWarnings("unchecked")
	public static <T> T getObject(Object object) {
		return (T) object;
	}
}
